package com.example.movie.utils

import android.content.Context
import android.widget.Toast


object ToastUtil {

    fun makeText(context: Context, message: String, duration: Int): Unit {
        Toast.makeText(context, message, duration).show()
    }

    fun makeTextShort(context: Context, message: String): Unit {
        Toast.makeText(context, message, Toast.LENGTH_LONG).show()
    }

    fun makeTextLong(context: Context, message: String): Unit {
        Toast.makeText(context, message, Toast.LENGTH_SHORT).show()
    }

    fun toast(context: Context, message: String) {
        Toast.makeText(context, message, Toast.LENGTH_SHORT).show()
    }


}